using System.Collections.ObjectModel;
using WeChat.ViewModels;
using CommunityToolkit.Mvvm.ComponentModel;

namespace WeChat.Models;

public sealed partial class ChatMessageItemModel : ViewModelBase
{
    [ObservableProperty] private ObservableCollection<MessageItemModel> _messages = [];
}

public sealed partial class MessageItemModel : ViewModelBase
{
    [ObservableProperty] private string _content = null!;
}